package test;

public class MyTestArray {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int[] str = new int[5];
		for (int i=0; i < str.length; i++)
		{
			str[i] = i;
			//System.out.println(str[i]);
		}
		//System.out.println(str[0]);
		for (int i : str)
		{
			//System.out.println(i);
		}
		str = new int[10];
		for (int i : str)
		{
			System.out.println(i);
		}
		int[] str2 = {1, 2, 3, 4};
		for (int i : str2)
		{
			System.out.println(i);
		}
	}

}
